package com.example.springsecuritydemo.action;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/demo")
public class DemoAction {

    @RequestMapping("/hello")
    public String hello(String s) {
        return "hello:" + s;
    }

}
